kaf24@firebug.cl.cam.ac.uk [Wed, 1 Jun 2005 09:06:47 +0000 (09:06 +0000)]
bitkeeper revision 1.1624 (429d7aa7Gb7U1ztIGbXeQ0gPWlG51g)
Rename some of the pagetable access macros:
l?e_create_* -> l?e_from_*
*_phys -> *_paddr
*_value -> *_intpte
l?e_add_flags, l?e_remove_flags, l?e_has_changed now take ptes by value
rather than by reference.
The pagetable hypercalls are fixed to use l?e_from_intpte() rather than
abusing l?e_from_paddr(), which munged the NX bit incorrectly on x86/64.
Thanks to Scott Parish for spotting this one.
Signed-off-by: Keir Fraser <keir@xensource.com>
cl349@firebug.cl.cam.ac.uk [Tue, 31 May 2005 23:04:23 +0000 (23:04 +0000)]
bitkeeper revision 1.1623 (429ced77UqsnFt1ywJdYu-w7Rd8gbg)
domain.c:
include xen/sched.h once is enough...
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Tue, 31 May 2005 22:45:24 +0000 (22:45 +0000)]
bitkeeper revision 1.1622 (429ce9043RMzk7MgrblrJmyu0he3Xw)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/cl349/xen-unstable.bk
cl349@firebug.cl.cam.ac.uk [Tue, 31 May 2005 22:30:52 +0000 (22:30 +0000)]
bitkeeper revision 1.1619.1.2 (429ce59cTt9KxcOT0JuoCYbuDDPRFw)
Many files:
Don't include xen/slab.h and xen/domain.h at the _END_ of xen/sched.h.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Tue, 31 May 2005 22:15:40 +0000 (22:15 +0000)]
bitkeeper revision 1.1619.1.1 (429ce20czCzWvLkTZEZqyN2iK_13sw)
sched.h, domain.c:
Make {exec_,}domain_{un,}pause and ..._by_systemcontroller variants
non-inline.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
kaf24@firebug.cl.cam.ac.uk [Tue, 31 May 2005 21:40:12 +0000 (21:40 +0000)]
bitkeeper revision 1.1621 (
429cd9bcA05F-_kvHhepys2ZfsrX8Q)
mm debug cleanup.
Signed-off-by: Scott Parish <srparish@us.ibm.com>
kaf24@firebug.cl.cam.ac.uk [Tue, 31 May 2005 21:34:23 +0000 (21:34 +0000)]
bitkeeper revision 1.1620 (429cd85fOKc8jD7MTDCcMvlczZhiDg)
x86_capability[] array is 32-bit ints, not longs.
Signed-off-by: Scott Parish <srparish@us.ibm.com>
cl349@firebug.cl.cam.ac.uk [Tue, 31 May 2005 17:13:13 +0000 (17:13 +0000)]
bitkeeper revision 1.1619 (429c9b29FRKSmd2yrMG2w6-PtHnc7Q)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/cl349/xen-unstable.bk
cl349@firebug.cl.cam.ac.uk [Tue, 31 May 2005 17:13:05 +0000 (17:13 +0000)]
bitkeeper revision 1.1618 (429c9b21TCCZatsEzYuIU4HRcrJtyA)
XendDomain.py:
Allow migration to localhost.
g/c XendDomain.domain_exists().
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
kaf24@firebug.cl.cam.ac.uk [Tue, 31 May 2005 17:07:56 +0000 (17:07 +0000)]
bitkeeper revision 1.1615.1.3 (429c99ecG3lpbZMR_ulpeFavnrTbcQ)
Fix get_pte_flags/put_pte_flags macros. Limit 32-bit PAE to 44-bit
physical addresses (maximum PFN that will fit in a 32-bit word).
Signed-off-by: Keir Fraser <keir@xensource.com>
cl349@firebug.cl.cam.ac.uk [Tue, 31 May 2005 15:56:16 +0000 (15:56 +0000)]
bitkeeper revision 1.1617 (429c8920BjgVBzWyVe6fs4GTiKD5Yw)
XendDomainInfo.py, XendDomain.py:
tmp_restore_create_domain is vm_restore now.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
kaf24@firebug.cl.cam.ac.uk [Tue, 31 May 2005 15:52:06 +0000 (15:52 +0000)]
bitkeeper revision 1.1615.1.2 (429c8826fS2FuIKb-STmuvL0Hl6awQ)
ioemu fixes: do not install into /usr/share/qemu as it conflicts with
real qemu installations. Also, do not link x86/64 with a special linker
script -- breaks on SLES9 and ought to be unnecessary.
The linker scripts and configuration/Makefile environment all need
stripping out at some point.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Tue, 31 May 2005 15:39:28 +0000 (15:39 +0000)]
bitkeeper revision 1.1615.1.1 (429c8530L_ZtVuxsQcKwKB3yPuljog)
Subject: PAE support
This patch adds initial support for PAE paging to xen.
This patch does:
* boot Xen itself with PAE paging enabled.
* add PAE support to the dom0 domain builder.
Some notes on the design and the changes:
* There are two new config options: CONFIG_X86_PAE (boolean,
same name Linux uses to simply things) and
CONFIG_PAGING_LEVELS (int, possible values are 2,3,4). I've
used #if CONFIG_PAGING_LEVELS for stuff which simply depends
on the number of paging levels in the code common for
x86-32/64, and CONFIG_X86_PAE for special PAE quirks or
i386-only stuff. I've tried to avoid ifdefs if possible
though, often I rearranged code to make it work in both
PAE and non-PAE case instead.
* idle_pg_table: 3rd level is statically initialized, 2nd
level is contignous in physical and virtual memory, so it can
be addressed linear (the dom0 builder uses the same trick to
simplify things a bit btw.). There are two new symbols:
idle_pg_table_l3 and idle_pg_table_l2 for the two tables.
idle_pg_table is aliased to the toplevel page table, i.e.
idle_pg_table_l3 in PAE mode and idle_pg_table_l2 in non-pae
mode. The idle l3 table is actually never ever touched after
boot, the l2 table is accessed via idle_pg_table_l2 and
addressed linear in both PAE and non-PAE mode.
* I've added a "intpte_t" type and a PRIpte define, modeled
after the C99 inttypes.h header, for page table entries.
Signed-off-by: Gerd Knorr <kraxel@bytesex.org>
cl349@firebug.cl.cam.ac.uk [Tue, 31 May 2005 15:22:09 +0000 (15:22 +0000)]
bitkeeper revision 1.1616 (429c8121AG7l1hMWaCYDFMFSyUtKMA)
XendDomainInfo.py:
g/c ipaddrs: no longer needed.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Tue, 31 May 2005 15:20:43 +0000 (15:20 +0000)]
bitkeeper revision 1.1615 (429c80cbvtnzneyg7GyZAmZlQNm-Yg)
XendDomainInfo.py:
g/c vm_restore: no longer used.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Tue, 31 May 2005 15:20:00 +0000 (15:20 +0000)]
bitkeeper revision 1.1614 (429c80a0GOB6P2mG94bxVMLZE34VdA)
XendDomainInfo.py:
g/c vif_up: it's the guest's responsibility to take appropriate
actions to get its network working again, i.e. send ARP packets when
it's resumed.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Tue, 31 May 2005 14:01:02 +0000 (14:01 +0000)]
bitkeeper revision 1.1613 (429c6e1eexBYav7WpRxH77Hcyh4PLQ)
XendDomainInfo.py:
Should use int(cpu) here to test if it's valid.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Tue, 31 May 2005 13:59:49 +0000 (13:59 +0000)]
bitkeeper revision 1.1612 (429c6dd5DZf10_GWDT3DTiTom7Mb1g)
XendDomainInfo.py:
cpu == 0 is the 1st cpu, allow pinning a domain to it.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Tue, 31 May 2005 13:36:19 +0000 (13:36 +0000)]
bitkeeper revision 1.1611 (429c6853QfpsOT-V0bESe-1WhWLOWw)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/cl349/xen-unstable.bk
cl349@firebug.cl.cam.ac.uk [Tue, 31 May 2005 13:36:04 +0000 (13:36 +0000)]
bitkeeper revision 1.1610 (429c6844gwqwv-oCcjfTguJRDbgCXQ)
XendRoot.py:
Fix get_xend_relocation_port comment.
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Tue, 31 May 2005 13:33:04 +0000 (13:33 +0000)]
bitkeeper revision 1.1609 (429c6790TWBysBM5eFTwmssbNmB69g)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into firebug.cl.cam.ac.uk:/local/scratch/cl349/xen-unstable.bk
cl349@firebug.cl.cam.ac.uk [Tue, 31 May 2005 13:32:53 +0000 (13:32 +0000)]
bitkeeper revision 1.1159.258.161 (429c6785ldESInztrl6dDaEZHXUyZg)
XendRoot.py:
Document loglevel_default and change default interface address for
listening at for console connections.
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Tue, 31 May 2005 13:19:42 +0000 (13:19 +0000)]
bitkeeper revision 1.1608 (429c646erSBefwnCqVeHKzsRTMIwjA)
Merge.
cl349@firebug.cl.cam.ac.uk [Tue, 31 May 2005 13:17:58 +0000 (13:17 +0000)]
bitkeeper revision 1.1159.258.160 (429c6406X0OUPVHTFIkpoqSmFue5nQ)
Makefile:
Install xen-syms-${version-number} not xen-${version-number}-syms.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Tue, 31 May 2005 13:14:42 +0000 (13:14 +0000)]
bitkeeper revision 1.1159.258.159 (429c6342A2HJ4wUj0nM5MNauX7azZQ)
vnet-xend.txt, user.tex, README:
Update the Linux kernel version number from 2.6.9 to 2.6 or 2.6.11
in several places in documentation.
Original patch provided by Andrew Thompson <andrewkt@aktzero.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
kaf24@firebug.cl.cam.ac.uk [Tue, 31 May 2005 10:01:06 +0000 (10:01 +0000)]
bitkeeper revision 1.1604.1.1 (429c35e2KuWnzd9bfhKRv0nY4yq4Rw)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
kaf24@firebug.cl.cam.ac.uk [Tue, 31 May 2005 10:00:59 +0000 (10:00 +0000)]
bitkeeper revision 1.1602.1.1 (429c35dbocwkNUKh8dzTXqsSFlVFog)
Fix gcc4 build.
Signed-off-by: Keir Fraser <keir@xensource.com>
cl349@firebug.cl.cam.ac.uk [Tue, 31 May 2005 09:32:19 +0000 (09:32 +0000)]
bitkeeper revision 1.1607 (429c2f231bx3kugLWzaDsPB4OQMBAA)
Merge
cl349@firebug.cl.cam.ac.uk [Tue, 31 May 2005 09:31:05 +0000 (09:31 +0000)]
bitkeeper revision 1.1159.258.158 (429c2ed9fqwHGLXrjJlLr96kpvW_UA)
XendConsole.py:
Remove unused code.
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Tue, 31 May 2005 09:14:28 +0000 (09:14 +0000)]
bitkeeper revision 1.1606 (
429c2af45-eQkEjNUi7xp8oigsbTSg)
XendProtocol.py:
Make XendProtocol.py use XendRoot to get the path to xend
domain-socket.
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Tue, 31 May 2005 09:10:26 +0000 (09:10 +0000)]
bitkeeper revision 1.1605 (429c2a02hn35DARfsEykCzpBrPrMhw)
SrvDaemon.py:
Remove unused code.
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Tue, 31 May 2005 08:59:49 +0000 (08:59 +0000)]
bitkeeper revision 1.1604 (429c27853YjCcOkLEnjS5rFvk6ORlQ)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into firebug.cl.cam.ac.uk:/local/scratch/cl349/xen-unstable.bk
cl349@firebug.cl.cam.ac.uk [Tue, 31 May 2005 08:59:26 +0000 (08:59 +0000)]
bitkeeper revision 1.1159.258.157 (429c276eHQwfuqCUJJBnQeDTzUz3lg)
XendRoot.py:
XendRoot::logDebug wrongly set the message format to 'info', instead
of 'debug'.
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Tue, 31 May 2005 08:52:42 +0000 (08:52 +0000)]
bitkeeper revision 1.1603 (429c25daAxv8CzKG49dW0khs2wyBew)
xc_ptrace_core.c, xc_ptrace.c:
SLES9 has a problem with it's <asm/elf.h> and other headers associated
with it. Since we are only using one thing from this (that we really
don't need) we can just stop including it.
http://bugzilla.xensource.com/cgi-bin/bugzilla/show_bug.cgi?id=34
Signed-off-by: Jerone Young <jyoung5@us.ibm.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
kaf24@firebug.cl.cam.ac.uk [Tue, 31 May 2005 08:27:49 +0000 (08:27 +0000)]
bitkeeper revision 1.1602 (429c2005b_phBM8VV-zUAH99jBwhMw)
Updated process.c for x86-64.
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
kaf24@firebug.cl.cam.ac.uk [Tue, 31 May 2005 08:22:44 +0000 (08:22 +0000)]
bitkeeper revision 1.1601 (429c1ed4wKexKmX-ibC6x3hHrciDNQ)
Fix CPU detection and initialisation. We now do early detection very
early, but pushed full initialisation to somewhat later when other
infrastructure is properly ready.
Signed-off-by: Keir Fraser <keir@xensource.com>
smh22@tempest.cl.cam.ac.uk [Mon, 30 May 2005 23:43:01 +0000 (23:43 +0000)]
bitkeeper revision 1.1600 (429ba505NfUdL-sQ8-FAIhULwXSaHQ)
Merge tempest.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into tempest.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
smh22@tempest.cl.cam.ac.uk [Mon, 30 May 2005 23:42:11 +0000 (23:42 +0000)]
bitkeeper revision 1.1159.258.156 (429ba4d3T2WmSlhY2aTmV6KN88hZHw)
Solve badness problem when udp_poll() receives fragmented skbuff w/ CONFIG_HIGHMEM
Upstream patch (now in -net tree) from Herbert Xu.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Steven Hand <steven@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Mon, 30 May 2005 21:15:54 +0000 (21:15 +0000)]
bitkeeper revision 1.1599 (429b828aL4XKwdaPjLGObI37F4hwiw)
By default do not enable local APIC if disabled by the BIOS. This
matches Linux behaviour and ought to improve stability on buggy
hardware/firmware (laptops in particular). As in Linux, you can
forcibly enable the APIC with 'lapic' command-line option, or
forcibly ignore it with 'nolapic'.
Signed-off-by: Keir Fraser <keir@xensource.com>
iap10@freefall.cl.cam.ac.uk [Mon, 30 May 2005 20:36:03 +0000 (20:36 +0000)]
bitkeeper revision 1.1598 (429b7933SwjyJJbULLC4ZT800edwvQ)
Merge freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-2.0-testing.bk
into freefall.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
iap10@freefall.cl.cam.ac.uk [Mon, 30 May 2005 20:35:36 +0000 (20:35 +0000)]
bitkeeper revision 1.1159.258.155 (429b7918fdegxe1sz_LxgKSA-WkOkA)
Upgrade to Linux patch 2.6.11.11
Signed-off-by: ian@xensource.com
smh22@firebug.cl.cam.ac.uk [Mon, 30 May 2005 17:08:40 +0000 (17:08 +0000)]
bitkeeper revision 1.1597 (429b4898xNVUuBPMVXKa545qSx7i7A)
fix xm vif-list and xm vbd-list (modulo error reporting for domain 0)
Signed-off-by: Steven Hand <steven@xensource.com>
smh22@firebug.cl.cam.ac.uk [Mon, 30 May 2005 16:30:26 +0000 (16:30 +0000)]
bitkeeper revision 1.1596 (429b3fa2RgeJZgQIRrT4oHa-PKg4zg)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/smh22/xen-unstable.bk
smh22@firebug.cl.cam.ac.uk [Mon, 30 May 2005 16:30:21 +0000 (16:30 +0000)]
bitkeeper revision 1.1593.1.1 (429b3f9dAiHnKq38m74zg-HSQnYfwQ)
partial fix for vbd-list and vif-list
kaf24@firebug.cl.cam.ac.uk [Mon, 30 May 2005 16:04:00 +0000 (16:04 +0000)]
bitkeeper revision 1.1595 (429b3970iSiBE6JNLmeO-KDY_v3Hdg)
Better locking strategy in serial rx interrupt handler and getc. Release
the spinlock after each loop iteration to prevent starvation of other
cpus and of interrupt handling. Also neatly folds byte_matches() into
serial_getc().
Signed-off-by: Keir Fraser <keir@xensource.com>
cl349@firebug.cl.cam.ac.uk [Mon, 30 May 2005 15:36:11 +0000 (15:36 +0000)]
bitkeeper revision 1.1594 (429b32ebzaQqk1iPvkQPHa7u9hft-g)
console.c:
Bring back console_{getc,putc}.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
kaf24@firebug.cl.cam.ac.uk [Mon, 30 May 2005 10:35:55 +0000 (10:35 +0000)]
bitkeeper revision 1.1593 (429aec8bP8S_iGAVT8JuCkjdgPLCCg)
Manual update for rcu changes in 2.0-testing.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Mon, 30 May 2005 10:20:47 +0000 (10:20 +0000)]
bitkeeper revision 1.1592 (429ae8ff33cT5EmG9lUTaMO920vjKg)
Manual merge.
kaf24@firebug.cl.cam.ac.uk [Mon, 30 May 2005 10:18:30 +0000 (10:18 +0000)]
bitkeeper revision 1.1159.258.154 (429ae8764I9WsS60DkRARFDRTCFT1Q)
Fix Xen idle loop to enter/exit tickless mode in same way as s390,
which interfaces properly with the RCU subsystem.
This includes a patch that fixes a race in the generic RCU code: it
was created by IBM for s390, and is being pushed upstream by them.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Sun, 29 May 2005 16:13:43 +0000 (16:13 +0000)]
bitkeeper revision 1.1591 (4299ea37xQ46OSnnhSi-IyVI2uATLw)
Bit-scanning function take offset/size as an int, not a long, and
return an int. This allows some small optimisation in code produced
for x86/64.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Sun, 29 May 2005 14:05:00 +0000 (14:05 +0000)]
bitkeeper revision 1.1590 (4299cc0csX0iKRxZs-S3QRYAtXSapQ)
Fix default root Makefile target.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Sun, 29 May 2005 13:57:27 +0000 (13:57 +0000)]
bitkeeper revision 1.1589 (4299ca474xuIi4-NBh-bI0ilQ8Sw7w)
More bitop cleanups and code improvements.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Sun, 29 May 2005 10:44:16 +0000 (10:44 +0000)]
bitkeeper revision 1.1588 (42999d00gxHg_hThncByjrGk7labNA)
Tidy up and fix the bit-scanning operations. In particular,
find_{first,next}_[zero_]bit(addr, max) may return any value >= max
if no suitable bit is found. This is now also the case for first_cpu()
and next_cpu() (unlike Linux!). I don't believe that any callers
care -- they always check for >= NR_CPUS, and I fixed any_online_cpu()
separately. This reduces code size and will improve performance.
Signed-off-by: Keir Fraser <keir@xensource.com>
maf46@burn.cl.cam.ac.uk [Sun, 29 May 2005 01:03:56 +0000 (01:03 +0000)]
bitkeeper revision 1.1587 (429914fc4wycjm1BHhUK9gZ0LL0sIg)
VMX domains should not have SHM_write_all enabled.
kaf24@firebug.cl.cam.ac.uk [Sat, 28 May 2005 21:18:17 +0000 (21:18 +0000)]
bitkeeper revision 1.1586 (4298e019QH28MgGwaw0jHPWEeEnyoA)
Clean up serial driver in Xen: separate ns16550 driver from generic
serial code.
Signed-off-by: Keir Fraser <keir@xensource.com>
leendert@watson.ibm.com[kaf24] [Sat, 28 May 2005 15:21:07 +0000 (15:21 +0000)]
bitkeeper revision 1.1585 (42988c63d2BDHoRycJzKDjIR50X5Sw)
[PATCH] [PATCH] VMX world switch does not handle all cases
The latest world switch modification does not handle all cases. Specifically,
when a partition enables CR0.PG|CR0.PE and performs a world switch at the
the same time. The patch below handles this case.
Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com>
kaf24@firebug.cl.cam.ac.uk [Sat, 28 May 2005 11:00:01 +0000 (11:00 +0000)]
bitkeeper revision 1.1584 (42984f31pkIsDJAxZBlaJgFWP9L2QA)
Assembly code cleanups. gcc doesn't need very many hints to get the
operand size and register names correct for both x86/32 and x86/64.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Sat, 28 May 2005 09:52:29 +0000 (09:52 +0000)]
bitkeeper revision 1.1583 (42983f5dF7YXNy2i-9EFwNZ_eZer4g)
Clean up bitops.h: all the basic atomic bitops access a 32-bit
memory location, even on x86/64.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Sat, 28 May 2005 09:23:56 +0000 (09:23 +0000)]
bitkeeper revision 1.1582 (429838acDJZ12SHZ0oEfuJwBD4FoqQ)
Make cpuid() less fussy about the type of its pointer parameters.
This fixes the build with gcc4.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Sat, 28 May 2005 09:08:54 +0000 (09:08 +0000)]
bitkeeper revision 1.1581 (
42983526-uYH3-ev0arYC-GCKopWHg)
This patch should make x86-64 XenLinux more stable. Please apply.
# Cleanups and improving stability by avoiding complex fixup at
critical section.
# Also fix error_entry with error set.
# Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
# Signed-off-by: Li B Xin <li.b.xin@intel.com>
I think the other was dropped (i.e. not applied in BK):
pfn_pte_ma.patch. Please apply it as well.
kaf24@firebug.cl.cam.ac.uk [Sat, 28 May 2005 09:02:28 +0000 (09:02 +0000)]
bitkeeper revision 1.1580 (429833a4G8EJ0jx6AoXE77WbZwwrQQ)
Debug build dumps guest state to emergency console if it crashes.
Signed-off-by: Keir Fraser <keir@xensource.com>
leendert@watson.ibm.com[kaf24] [Sat, 28 May 2005 08:54:28 +0000 (08:54 +0000)]
bitkeeper revision 1.1579 (429831c4g3vltIzzOokMmu5rtSZAcQ)
[PATCH] [PATCH] ioemu: enable Cirrus VGA emulation
At some point the Cirrus VGA driver was commented out. Probably
for debugging. The patch below adds it back in. It works just fine.
Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com>
arun.sharma@intel.com[kaf24] [Sat, 28 May 2005 08:54:12 +0000 (08:54 +0000)]
bitkeeper revision 1.1578 (429831b4aG5GnPML1pSzeV9PiOlFAA)
[PATCH] vmx-smsw.patch
Handle vmexits from the SMSW instruction correctly.
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
arun.sharma@intel.com[kaf24] [Sat, 28 May 2005 08:53:55 +0000 (08:53 +0000)]
bitkeeper revision 1.1577 (429831a31IZvEeEnalH3oKUTY7jV7A)
[PATCH] vmx-worldswitch-1-to-1.patch
Fix VMX world switch to use 1:1 page tables when the guest has paging
disabled. Also do a printk instead of VMX_DBG_LOG() anytime we crash
a domain.
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
arun.sharma@intel.com[kaf24] [Sat, 28 May 2005 08:53:39 +0000 (08:53 +0000)]
bitkeeper revision 1.1576 (42983193Zhd1D5IEn8s4gplr_BeXnQ)
[PATCH] vmx-io.patch
Fix some of the race conditions that show up when the device models are
running on one CPU and the VMX domain is running on another on a SMP
system.
Signed-off-by: Arun Sharma <arun.sharma@intel.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 27 May 2005 10:51:06 +0000 (10:51 +0000)]
bitkeeper revision 1.1575 (4296fb9akkrLM8bKzQ1I7T3Dy3Uu9w)
Patch ipv4 netfilter code to avoid checksumming CHECKUM_UNNCECESSARY
packets. On Xen the check could fail, as packets from domU have a blank
checksum field.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Fri, 27 May 2005 10:45:50 +0000 (10:45 +0000)]
bitkeeper revision 1.1574 (4296fa5erB8OK0RVQ0VDZFNWsbl4Qg)
xm's pincpu has a problem handling the cpu parameter if the cpu number
is more than one digit. This patch fixes it.
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
leendert@watson.ibm.com[kaf24] [Fri, 27 May 2005 08:36:13 +0000 (08:36 +0000)]
bitkeeper revision 1.1573 (4296dbfdboYgUQZDJC6lNdNzKGXKag)
[PATCH] [PATCH] ioemu device-model ignores variables
Trivial patch. The device-model wrapper ignores cdrom and boot variables.
This patch adds them.
Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com>
leendert@watson.ibm.com[kaf24] [Fri, 27 May 2005 08:35:56 +0000 (08:35 +0000)]
bitkeeper revision 1.1572 (4296dbecanEyZdOxxZEuQ7szhriF5g)
[PATCH] [PATCH] (missing) More accurate address decoding for
This patch works a lot better when you have all the modified files.
Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com>
leendert@watson.ibm.com[kaf24] [Fri, 27 May 2005 08:35:40 +0000 (08:35 +0000)]
bitkeeper revision 1.1571 (4296dbdcx0p8kMuQ9I0m0bHZ7K1BuQ)
[PATCH] [PATCH] More accurate address decoding for VMX string
This patch includes two patches. The major patch is the improved address
decoding for ins/outs instructions. In the previous version, segment
overrides were ignored which caused a lot of problems for parts of the
ROMBIOS code where they are used heavily. Address decoding has been
made slightly easier now that GUEST_LINEAR_ADDRESS is documented. We
still need to work around a bug in the current stepping and make sure
that in protected mode the selector is not null.
The second patch removes the ASSERT(cr3). cr3==0 is a perfectly legal
value and Xen should not crash when its read.
Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com>
leendert@watson.ibm.com[kaf24] [Fri, 27 May 2005 08:35:25 +0000 (08:35 +0000)]
bitkeeper revision 1.1570 (4296dbcdhFdFajOGxHJCyEMvDA0TWg)
[PATCH] [PATCH] Missing start_vmx call
Start_vmx was removed by accident. This patch puts it back. start_vmx
is used to initialize the VMX subsystem, without it VMX operations result
in bad opcode traps and crash Xen.
Signed-Off-By: Leendert van Doorn <leendert@watson.ibm.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 26 May 2005 20:33:31 +0000 (20:33 +0000)]
bitkeeper revision 1.1569 (4296329bfi2iosJzMmIh7KglSdchjQ)
Clean up SMP bootstrap, and fix uniprocessor/APIC-less booting.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 26 May 2005 17:54:47 +0000 (17:54 +0000)]
bitkeeper revision 1.1568 (42960d67jYin00CdEGWDPCLZ5h6Hnw)
Merge firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/kaf24/xeno-unstable-ia64.bk
kaf24@firebug.cl.cam.ac.uk [Thu, 26 May 2005 16:40:45 +0000 (16:40 +0000)]
bitkeeper revision 1.1567 (4295fc0dckrpqmqbCHpAHRHUcTGMTQ)
Nicer pretty printing.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 26 May 2005 16:09:52 +0000 (16:09 +0000)]
bitkeeper revision 1.1566 (4295f4d0ecoRI1FVDrCqrrfgF5j8ug)
Clean up NMI watchdog handler. No need to hack into ac_timer structs.
Signed-off-by: Keir Fraser <keir@xensource.com>
djm@kirby.fc.hp.com [Thu, 26 May 2005 16:02:35 +0000 (16:02 +0000)]
bitkeeper revision 1.1564.1.3 (4295f31bXXSt2FVu5PG4ForW7oosIw)
One-liner to resolve link error due to recent core changes to idle
djm@kirby.fc.hp.com [Thu, 26 May 2005 15:56:45 +0000 (15:56 +0000)]
bitkeeper revision 1.1564.1.2 (4295f1bdtwYKVieig5E--rSWauq7Kg)
Merge djm@sportsman.fc.hp.com:/home/djm/xeno-unstable-ia64.bk
into kirby.fc.hp.com:/home/djm/src/xen/xeno-unstable-ia64.bk
xen-ia64.adm@bkbits.net [Thu, 26 May 2005 15:54:22 +0000 (15:54 +0000)]
bitkeeper revision 1.1564.1.1 (4295f12eiFrDNUdC-D7-zJOe_Af1fA)
Merge bk://xen.bkbits.net/xeno-unstable.bk
into bkbits.net:/repos/x/xen-ia64/xeno-unstable-ia64.bk
vh249@arcadians.cl.cam.ac.uk [Thu, 26 May 2005 15:49:31 +0000 (15:49 +0000)]
bitkeeper revision 1.1565 (4295f00bFZpvoNyqpCONmIknfolDLg)
Merge arcadians.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into arcadians.cl.cam.ac.uk:/local/scratch-2/vh249/other/xen-unstable.bk
vh249@arcadians.cl.cam.ac.uk [Thu, 26 May 2005 15:49:15 +0000 (15:49 +0000)]
bitkeeper revision 1.1562.1.1 (4295effbUWTVBipGBrKsyDh6-2FoaQ)
add name and pid of app that is using TLS
Signed-off-by: Vincent Hanquez <vincent@xensource.com>
djm@kirby.fc.hp.com [Thu, 26 May 2005 15:43:04 +0000 (15:43 +0000)]
bitkeeper revision 1.1509.1.5 (4295ee88HY2abQVcdhSuV8au7cjYDA)
First fast hyperprivop support (hyper_rfi)
Signed-off by: Dan Magenheimer <dan.magenheimer@hp.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 26 May 2005 15:35:14 +0000 (15:35 +0000)]
bitkeeper revision 1.1564 (4295ecb2jzOPE0em5dg6Hu_4rbzFCg)
Port CPU setup code from Linux 2.6.
Signed-off-by: Keir Fraser <keir@xensource.com>
akw27@arcadians.cl.cam.ac.uk [Thu, 26 May 2005 15:11:08 +0000 (15:11 +0000)]
bitkeeper revision 1.1563 (4295e70c6gPBeUtVURfaYnxTU_GbrA)
Make disconnect/destroy messages from xend to the backend drivers wait for
responses to allow backends to shut down the connection properly.
kaf24@firebug.cl.cam.ac.uk [Thu, 26 May 2005 12:51:47 +0000 (12:51 +0000)]
bitkeeper revision 1.1562 (4295c663e2dmLlYutTmiDxZ2_Qkpnw)
Fix ac_timer initialisation.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Thu, 26 May 2005 08:06:01 +0000 (08:06 +0000)]
bitkeeper revision 1.1561 (42958369EO5iAgCrbpIrx-hK8jzMWQ)
Fix install path for qemu-dm.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 25 May 2005 22:25:42 +0000 (22:25 +0000)]
bitkeeper revision 1.1560 (
4294fb66-WHHJCdXRRXp-4dTrGuiLw)
Trivial fix to email contact address.
kaf24@firebug.cl.cam.ac.uk [Wed, 25 May 2005 22:22:44 +0000 (22:22 +0000)]
bitkeeper revision 1.1559 (4294fab4CMjRyJfuEBP1lUbAC6G9GA)
- pygrub/README provides information on packages needed to compile pygrub
- support reiserfs {2,3} filesystem
- dynamically build modules based on which filesystem libraries the
system has (proposed by Jeremy)
- pump up pygrub to version 0.2
Signed-off-by: Jeremy Katz <katzj@redhat.com>
Signed-off-by: Nguyen Anh Quynh <aquynh@gmail.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 25 May 2005 22:18:10 +0000 (22:18 +0000)]
bitkeeper revision 1.1558 (4294f9a2Vif6PUYZMV6j1GuP-Mn6Xg)
gcc4 build fixes.
Signed-off-by: Keir Fraser <keir@xensource.com>
djm@kirby.fc.hp.com [Wed, 25 May 2005 20:19:09 +0000 (20:19 +0000)]
bitkeeper revision 1.1509.1.4 (4294ddbdS0zXLWNl7GY3vmRtzKddcQ)
Implement virtual short format VHPT walker
Signed-off-by: Matthew Chapman <matthewc@hp.com>
Signed-off by: Dan Magenheimer <dan.magenheimer@hp.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 25 May 2005 17:43:39 +0000 (17:43 +0000)]
bitkeeper revision 1.1557 (4294b94bIF7VSJm4DWqLidHZJXHecQ)
x86/64 build fixes.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 25 May 2005 17:39:23 +0000 (17:39 +0000)]
bitkeeper revision 1.1556 (4294b84bRLO0dqxUhCbkQfM8qt1UoA)
NR_IRQS should be a bit bigger, in anticipation of PCI-MSI support.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 25 May 2005 17:29:20 +0000 (17:29 +0000)]
bitkeeper revision 1.1555 (4294b5f0B3iu-SnB9loIMnLXO0loTA)
Ported genapic to Xen: support for bigsmp and numa platforms such as
es7000.
Signed-off-by: Keir Fraser <keir@xensource.com>
cl349@firebug.cl.cam.ac.uk [Wed, 25 May 2005 17:19:19 +0000 (17:19 +0000)]
bitkeeper revision 1.1554 (4294b39736L_x3NwB1IRHYxqWe9rTQ)
Merge firebug.cl.cam.ac.uk:/auto/groups/xeno-xenod/BK/xen-unstable.bk
into firebug.cl.cam.ac.uk:/local/scratch/cl349/xen-unstable.bk
cl349@firebug.cl.cam.ac.uk [Wed, 25 May 2005 17:18:43 +0000 (17:18 +0000)]
bitkeeper revision 1.1550.1.4 (4294b3735gOYxynlbg6ebX3oag6sHQ)
relocate.py, SrvDomain.py, XendDomain.py:
Support vm relocation using XendCheckpoint.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Wed, 25 May 2005 17:18:14 +0000 (17:18 +0000)]
bitkeeper revision 1.1550.1.3 (4294b356XJn1FHEVZ-2JlKpBDmqmpA)
xc_linux_restore.c:
Make read from network work.
Make error messages more specific.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
cl349@firebug.cl.cam.ac.uk [Wed, 25 May 2005 16:04:01 +0000 (16:04 +0000)]
bitkeeper revision 1.1550.1.2 (4294a1f1_I9jQ97QY8OTqDCx1kDIUA)
SrvDaemon.py, XendRoot.py, relocate.py:
Add relocation server.
XendCheckpoint.py:
Import XendError.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
kaf24@firebug.cl.cam.ac.uk [Wed, 25 May 2005 14:28:37 +0000 (14:28 +0000)]
bitkeeper revision 1.1553 (
42948b95-gTo139RVAa2sLFVDy4KRA)
More simplification and cleanup of the ac_timer interface.
Signed-off-by: Keir Fraser <keir@xensource.com>
kaf24@firebug.cl.cam.ac.uk [Wed, 25 May 2005 13:43:27 +0000 (13:43 +0000)]
bitkeeper revision 1.1552 (429480ffbijN4G0QJScaV1h7mcJ23Q)
Simplify the ac_timer interface: mod_ac_timer/add_ac_timer replaced
by set_ac_timer.
Signed-off-by: Keir Fraser <keir@xensource.com>
cl349@firebug.cl.cam.ac.uk [Wed, 25 May 2005 13:24:35 +0000 (13:24 +0000)]
bitkeeper revision 1.1550.1.1 (42947c93ScXPWqJQrSKCVoxqNJmCbw)
XendDomain.py:
Remove XendMigrate.
.del-XendMigrate.py~
3921a328f4db779:
Delete: tools/python/xen/xend/XendMigrate.py
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
kaf24@firebug.cl.cam.ac.uk [Wed, 25 May 2005 13:07:42 +0000 (13:07 +0000)]
bitkeeper revision 1.1551 (4294789ea5Ghsn6s5aIMFHK5LY4uSw)
Add 64-bit (cmpxchg8b) support to the cmpxchg() macro for x86_32.
Signed-off-by: Keir Fraser <keir@xensource.com>